home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / util / misc / MCPPReload.lha / MCPPReload / Readme < prev    next >
Text File  |  1999-01-14  |  3KB  |  98 lines

  1. ***************************************************************************
  2. *                                                                         *
  3. *                     MCCPReload 0.5 by Georg Steger                      *
  4. *                                                                         *
  5. ***************************************************************************
  6.  
  7.  
  8. -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-
  9.  
  10. Introduction:
  11. =============
  12.  
  13. There's a bug in MaxonCPP 4.0. If you set the linker options to no startup-
  14. code and compile something, then all later compilings will use this setting
  15. too, regardless of what linker options you tell the program to use. This is
  16. extremely annoying when you make a library. To test the library you need
  17. the startup-code option to be activated, but because of the bug and the
  18. fact that you had to turn startup-code off when compiling the library the
  19. library test program will crash because of the missing startup-code.
  20.  
  21. The only way to solve this trouble was to quit MaxonDevelop and restart it.
  22. This is a very annoying thing. For example:
  23.  
  24.   1) change library source
  25.   2) compile library
  26.   3) quit MaxonDevelop
  27.   4) restart MaxonDevelop
  28.   5) change and/or compile library test program
  29.   6) library has a bug
  30.   7) quit MaxonDevelop
  31.   8) restart MaxonDevelop
  32.   9) GOTO 1)
  33.  
  34. I have found out, that it is not necessary to quit the MaxonDevelop
  35. program, but it is enough to quit and restart the compiler (bin/mcpp4)
  36. which is usually loaded by MaxonDevelop with NewLoadSeg() during startup.
  37.  
  38. To quit mcpp4 it is enough to send "quit" to it's ARexx port (called
  39. "MAXONCPP").
  40.  
  41. Restarting the compiler is a little bit more complicated, as it's homedir
  42. (PROGDIR:) needs to be "MDEV:", so one usually would have to keep two
  43. copies of the mcpp4 files, one in "MDEV:/bin" (because MaxonDevelop loads
  44. it from there) and one in "MDEV:" to force the homedir to be there.
  45.  
  46. To simplify everything I have written a small program which quits/restarts
  47. the compiler automatically. Hope it works correctly. If not: source code
  48. is included. Feel free to improve it and fix bugs ;-)
  49.  
  50.  
  51. -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-
  52.  
  53. Installation:
  54. =============
  55.  
  56. Use the installation script to copy the utiltiy onto your HD. Then it's
  57. best to use a commodity which allows you to start it with a hotkey.
  58.  
  59.  
  60. -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-
  61.  
  62. Usage:
  63. ======
  64.  
  65. MCPPReload has the following argument template:
  66.  
  67.     STACK/N/K,MUSTEXIST/S,QUIET/S
  68.  
  69. STACK    : Change stack of compiler. Default is 10000 bytes.
  70.  
  71. MUSTEXIST: If activated, MCPPReload will abort if compiler is not running,
  72.            otherwise the compiler will be launched anyway.
  73.  
  74. QUIET    : Don't show the "compiler reloaded" window.
  75.  
  76. -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-
  77.  
  78. Author:
  79. =======
  80.  
  81. Georg Steger
  82. Hochlercher 30
  83.  
  84. I-39030 St. Johann/Ahrntal
  85.  
  86. EMail:steger@pass.dnet.it
  87.  
  88.  
  89. -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-
  90.  
  91. Final Note:
  92. ===========
  93.  
  94. No note. Just have fun ;-)
  95.  
  96.  
  97. -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-
  98.